package com.bawei.es.service;

import com.bawei.common.core.domain.R;
import com.bawei.system.domain.SearchResult;
import com.bawei.system.domain.vo.EsDocInsertVo;
import com.bawei.system.domain.vo.EsDocQueryVo;
import com.bawei.system.domain.vo.PageVo;

import java.util.List;

public interface EsDocService {
    R<Boolean> batchInsertDocs(List<EsDocInsertVo> esDocInsertVo);

    R queryDocs(EsDocQueryVo esDocInsertVo);

    R<Boolean> deleteDocsById(Integer[] docIds, String indexName);

    List<String> querySuggestions(String indexName, String keyWord, String suggestionFiled);


}
